package com.qqtech.qquan.user.service;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.user.model.UserTopic;
import com.qqtech.qquan.user.model.UserTopicVo;

public interface UserTopicService extends BaseService<UserTopic> {
	/**
	 * 保存友事，同步社区、同步圈子
	 * @param UserTopicVo
	 * @return
	 */
	public int addUserTopic(UserTopicVo userTopicVo);
	
	/**
     * 点击量+1
     * @param topicId
     */
    void increasePv(Integer topicId);
    
    /**
     * 评论数+1
     * @param topicId
     */
    void increaseComment(Integer topicId, int addCount);
    
    /**
     * 点赞数+1
     * @param topicId
     * @param addCount
     */
    void  increasePraise(Integer topicId, int addCount);
}